package com.ruoyi.client.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
@ApiModel(description = "查询订单参数")
public class OrderQueryPageForm {

    @ApiModelProperty(value = "页码", position = 1)
    private Integer pageNum;

    @ApiModelProperty(value = "页大小", position = 2)
    private Integer pageSize;

    @ApiModelProperty(value = "订单状态( 0初始 1取消 2完成)", position = 3)
    @Range(min = -1, max = 1, message = "订单状态( 0初始 1取消 2完成) ")
    private Integer status;

}
